SELinux provides multiple commands for managing the file system labeling, such as chcon , semanage fcontext , restorecon , and matchpathcon . ... semanage(8) and ...
There are multiple commands for managing the SELinux context for files, such as chcon , semanage fcontext , and restorecon . ... Refer to the chcon(1) manual page ...
The semanage fcontext command is used to change the SELinux context of files. When using targeted policy, changes are written to files located in the /etc/ ...
2020年6月9日 — But there is a significant difference between both. The changes made with chcon are temporary in nature whereas with semanage it is permanent.